﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200000F RID: 15
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptedPamMissionExpireCsReq : IMessage<AcceptedPamMissionExpireCsReq>, IMessage, IEquatable<AcceptedPamMissionExpireCsReq>, IDeepCloneable<AcceptedPamMissionExpireCsReq>, IBufferMessage
	{
		// Token: 0x17000024 RID: 36
		// (get) Token: 0x06000088 RID: 136 RVA: 0x00003490 File Offset: 0x00001690
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptedPamMissionExpireCsReq> Parser
		{
			get
			{
				return AcceptedPamMissionExpireCsReq._parser;
			}
		}

		// Token: 0x17000025 RID: 37
		// (get) Token: 0x06000089 RID: 137 RVA: 0x00003497 File Offset: 0x00001697
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptedPamMissionExpireCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000026 RID: 38
		// (get) Token: 0x0600008A RID: 138 RVA: 0x000034A9 File Offset: 0x000016A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptedPamMissionExpireCsReq.Descriptor;
			}
		}

		// Token: 0x0600008B RID: 139 RVA: 0x000034B0 File Offset: 0x000016B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptedPamMissionExpireCsReq()
		{
		}

		// Token: 0x0600008C RID: 140 RVA: 0x000034B8 File Offset: 0x000016B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptedPamMissionExpireCsReq(AcceptedPamMissionExpireCsReq other) : this()
		{
			this.mainMissionId_ = other.mainMissionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600008D RID: 141 RVA: 0x000034DD File Offset: 0x000016DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptedPamMissionExpireCsReq Clone()
		{
			return new AcceptedPamMissionExpireCsReq(this);
		}

		// Token: 0x17000027 RID: 39
		// (get) Token: 0x0600008E RID: 142 RVA: 0x000034E5 File Offset: 0x000016E5
		// (set) Token: 0x0600008F RID: 143 RVA: 0x000034ED File Offset: 0x000016ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MainMissionId
		{
			get
			{
				return this.mainMissionId_;
			}
			set
			{
				this.mainMissionId_ = value;
			}
		}

		// Token: 0x06000090 RID: 144 RVA: 0x000034F6 File Offset: 0x000016F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptedPamMissionExpireCsReq);
		}

		// Token: 0x06000091 RID: 145 RVA: 0x00003504 File Offset: 0x00001704
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptedPamMissionExpireCsReq other)
		{
			return other != null && (other == this || (this.MainMissionId == other.MainMissionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000092 RID: 146 RVA: 0x00003534 File Offset: 0x00001734
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MainMissionId != 0U)
			{
				num ^= this.MainMissionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000093 RID: 147 RVA: 0x00003573 File Offset: 0x00001773
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000094 RID: 148 RVA: 0x0000357B File Offset: 0x0000177B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000095 RID: 149 RVA: 0x00003584 File Offset: 0x00001784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MainMissionId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.MainMissionId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000096 RID: 150 RVA: 0x000035B8 File Offset: 0x000017B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MainMissionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MainMissionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000097 RID: 151 RVA: 0x000035F6 File Offset: 0x000017F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptedPamMissionExpireCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MainMissionId != 0U)
			{
				this.MainMissionId = other.MainMissionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000098 RID: 152 RVA: 0x00003627 File Offset: 0x00001827
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000099 RID: 153 RVA: 0x00003630 File Offset: 0x00001830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MainMissionId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000029 RID: 41
		private static readonly MessageParser<AcceptedPamMissionExpireCsReq> _parser = new MessageParser<AcceptedPamMissionExpireCsReq>(() => new AcceptedPamMissionExpireCsReq());

		// Token: 0x0400002A RID: 42
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400002B RID: 43
		public const int MainMissionIdFieldNumber = 10;

		// Token: 0x0400002C RID: 44
		private uint mainMissionId_;
	}
}
